package org.example02.po;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Order {
    private int id;
    private int userId;
    private String number;
    private LocalDateTime createTime;
    private String note;
    private User user;
    private List<OrderDetail> orderDetails;
}
